package com.jwdf.uda.http.action;
import android.content.Context;

import com.jwdf.uda.bean.PbBean;
import com.jwdf.uda.http.AHttpService;
import com.jwdf.uda.http.ApiService;

import retrofit2.Call;
/**
 * Created by fatsfan on 2016/9/22.
 */

public class RecommandAction extends AHttpService<PbBean.PbResUserGetRandRecommendUserList> {

    public RecommandAction(Context context) {
        super(context);
    }

    @Override
    protected Call newRetrofitCall(ApiService apiService, PbBean.PbBaseClientInfo.Builder baseBuilder) {
        PbBean.PbReqUserGetRandRecommendUserList.Builder builder = PbBean.PbReqUserGetRandRecommendUserList.newBuilder();
        builder.setBaseClientInfo(baseBuilder);
        return apiService.getQuizRecommend(builder.build());

    }
}
